import request from '@/utils/request'

// 查询对账单明细列表
export function listCheckOrderItem(query) {
  return request({
    url: '/finance/checkOrderItem/list',
    method: 'post',
    data: query
  })
}

// 查询对账单明细详细
export function getCheckOrderItem(id) {
  return request({
    url: '/finance/checkOrderItem/' + id,
    method: 'get'
  })
}

// 新增对账单明细
export function addCheckOrderItem(data) {
  return request({
    url: '/finance/checkOrderItem/add',
    method: 'post',
    data: data
  })
}

// 修改对账单明细
export function updateCheckOrderItem(data) {
  return request({
    url: '/finance/checkOrderItem/update',
    method: 'post',
    data: data
  })
}

// 删除对账单明细
export function delCheckOrderItem(id) {
  return request({
    url: '/finance/checkOrderItem/delete/' + id,
    method: 'post'
  })
}
